import request from '@/utils/request'

//用户列表
export function userList(query) {
  return request({
    url:'/com.mmk.groupmember.api.AdminMmkaUsersProvider/1.0.0/list.html',
    method:'post',
    data:query
  })
}

//用户列表
export function addUser(query) {
  return request({
    url:'/com.mmk.admin.api.AdminUserProvider/1.0.0/saveAdminUser.html',
    method:'post',
    data:query
  })
}

//用户详情
export function userDetail(query) {
  return request({
    url:'/com.mmk.groupmember.api.AdminMmkaUsersProvider/1.0.0/get.html',
    method:'post',
    data:query
  })
}

//用户收益
export function userIncome(query) {
  return request({
    url:'/com.mmk.groupmember.api.AdminMmkGroupVipIncomeProvider/1.0.0/getList.html',
    method:'post',
    data:query
  })
}

//用户提现
export function userWithdraw(query) {
  return request({
    url:'/com.mmk.groupmember.api.AdminGroupUserWithdrawAmountProvider/1.0.0/list.html',
    method:'post',
    data:query
  })
}
